package com.micro.frog.job.init;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * 任务加载类
 * 容器启动完成后执行
 *
 * @author :  ljh
 * @date : 2018/5/10
 **/
@Slf4j
@Order(1)
@Component
public class JobApplicationRunner implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
//        ScheduleUtils.loadAllTask();
    }
}
